package com.retail.xiaocui.common.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.retail.common.core.annotation.Excel;
import com.retail.common.core.web.domain.BaseEntity;

/**
 * 预警值设置对象 t_early
 *
 * @author retail
 * @date 2024-02-29
 */
public class Early extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预警值id */
    private Long warningId;

    /** 商品Id */
    @Excel(name = "商品Id")
    private Long skuId;

    /** 商品Name */
    @Excel(name = "商品Name")
    private String skuName;

    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    /** 商品预警值 */
    @Excel(name = "商品预警值")
    private Integer earlyWarning;

    /** 预警信息注 */
    @Excel(name = "预警信息注")
    private String warningRemark;

    public void setWarningId(Long warningId)
    {
        this.warningId = warningId;
    }

    public Long getWarningId()
    {
        return warningId;
    }



    public void setSkuId(Long skuId)
    {
        this.skuId = skuId;
    }

    public Long getSkuId()
    {
        return skuId;
    }
    public void setEarlyWarning(Integer earlyWarning)
    {
        this.earlyWarning = earlyWarning;
    }

    public Integer getEarlyWarning()
    {
        return earlyWarning;
    }
    public void setWarningRemark(String warningRemark)
    {
        this.warningRemark = warningRemark;
    }

    public String getWarningRemark()
    {
        return warningRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("warningId", getWarningId())
            .append("skuId", getSkuId())
            .append("skuName", getSkuName())
            .append("earlyWarning", getEarlyWarning())
            .append("warningRemark", getWarningRemark())
            .toString();
    }


}
